package com.itbuka.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itbuka.goods.domain.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BrandMapper extends BaseMapper<Brand> {
    /**
     * 根据分类名称查询品牌列表
     * @param categoryName
     * @return
     */
    List<Map> findListByCategoryName(@Param("name") String categoryName);

}
